package com.ruoyi.hcmain.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 仓库信息对象 hc_stock
 * 
 * @author ruoyi
 * @date 2023-08-10
 */
public class HcStock extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long stockId;

    /** 排号 */
    @Excel(name = "排号")
    private Long pNum;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 备注 */
    @Excel(name = "备注")
    private String other;

    public void setStockId(Long stockId) 
    {
        this.stockId = stockId;
    }

    public Long getStockId() 
    {
        return stockId;
    }
    public void setpNum(Long pNum) 
    {
        this.pNum = pNum;
    }

    public Long getpNum() 
    {
        return pNum;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setOther(String other) 
    {
        this.other = other;
    }

    public String getOther() 
    {
        return other;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("stockId", getStockId())
            .append("parentId", getParentId())
            .append("pNum", getpNum())
            .append("name", getName())
            .append("sort", getSort())
            .append("other", getOther())
            .toString();
    }
}
